package com.gzist.security4.mapper;

import com.gzist.security4.domain.Role;
import com.gzist.security4.domain.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 黄泽建
* @description 针对表【user】的数据库操作Mapper
* @createDate 2024-05-14 00:43:40
* @Entity com.gzist.security4.domain.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<Role> getAllRoles(Long id);
}




